package com.ruoyi.web.controller.TiebaPosts.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 贴吧里面的帖子对象 tieba_posts
 *
 * @author yong
 * @date 2025-03-09
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tieba_posts")
@ApiModel(value = "TiebaPosts", description = "贴吧里面的帖子实体")
public class TiebaPosts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @Excel(name = "")
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("")
    private Long id;

    /** 关联的贴吧 或者 贴吧 */
    @Excel(name = "关联的贴吧 或者 贴吧")
    @ApiModelProperty("关联的贴吧 或者 贴吧")
    private Long forumId;

    /**  */
    @Excel(name = "")
    @ApiModelProperty("")
    private Long userId;

    /**  */
    @Excel(name = "")
    @ApiModelProperty("")
    private Long deptId;

    /** 标题 */
    @Excel(name = "标题")
    @ApiModelProperty("标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    @ApiModelProperty("内容")
    private String content;

    /** 帖子图片 */
    @Excel(name = "帖子图片")
    @ApiModelProperty("帖子图片")
    private String imageUrl;

    /** 评论数量 */
    @Excel(name = "评论数量")
    @ApiModelProperty("评论数量")
    private Long commentCount;

    /** 点赞数量 */
    @Excel(name = "点赞数量")
    @ApiModelProperty("点赞数量")
    private Long loveCount;

    /** 分享数量 */
    @Excel(name = "分享数量")
    @ApiModelProperty("分享数量")
    private Long shareCount;

    /** 关注数量 */
    @Excel(name = "关注数量")
    @ApiModelProperty("关注数量")
    private Long guanzhuCount;

    /** 收藏数量 */
    @Excel(name = "收藏数量")
    @ApiModelProperty("收藏数量")
    private Long collectCount;

    /**  */
    @ApiModelProperty("")
    private Integer delFlag;

}
